import i18n from '../../i18n/i18n'
export const tableOption = {
  border: true,
  index: false,
  indexLabel: i18n.t('number'),
  selection: true,
  stripe: true,
  menuAlign: 'center',
  menuWidth: 350,
  align: 'center',
  refreshBtn: true,
  searchSize: 'mini',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  props: {
    label: 'label',
    value: 'value'
  },
  column: [{
    label: i18n.t('sys.creationTime'),
    prop: 'createTime'
  },
  {
    label: i18n.t('sys.userName'),
    prop: 'userName',
    search: true
  }, {
    label: i18n.t('sys.email'),
    prop: 'email'
  }, {
    label: i18n.t('sys.connInfo'),
    prop: 'contact'
  }, {
    label: i18n.t('productComm.status'),
    prop: 'status',
    search: true,
    slot: true,
    type: 'select',
    dicData: [
      {
        label: i18n.t('productComm.waitPass'),
        value: 0
      }, {
        label: i18n.t('productComm.pass'),
        value: 1
      }
    ]
  }]
}
